﻿using System.Windows;

namespace Desktop.Interfaces
{
    public interface IWorkspace
    {
        #region Events

        event RoutedEventHandler Closing;

        #endregion

        #region Properties

        string WorkspaceName { get; set; }
        bool IsCloseable { get; set; }
        IApplication Parent { get; set; }

        #endregion

        #region Methods

        void OpenActivity(IActivity activity);
        void CloseActivity(IActivity activity);

        #endregion
    }
}